package com.newbsd.web.maventest.controller;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.newbsd.web.maventest.mvc.InnerDispatcherController;

public class UserController extends InnerDispatcherController {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8128936181765400012L;
	 
	public void index(HttpServletRequest request ,HttpServletResponse response) throws ServletException,IOException{
		RequestDispatcher dispatcher=request.getRequestDispatcher("");
		dispatcher.forward(request, response);
	}
	public void list(HttpServletRequest request ,HttpServletResponse response) throws ServletException,IOException{
		System.out.println("UserController list called.");
	}
	public void add(HttpServletRequest request ,HttpServletResponse response) throws ServletException,IOException{
		System.out.println("UserController add called.");
	}

}
